package com.unitechs.trap.excel.webapi.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CoInfoMapper {
    /*编号自增*/
    int increaseCoCode(String coName);
    /*编号减1*/
    int reduceCoCode(String coName);
    /*恢复编号*/
    int recoverCoCode(@Param("coName") String coName, @Param("code") int code);
    /*获取编号*/
    int getCoCodeByCoName(String coName);
    /*获取公司中文名称*/
    String getCoDescrByCoName(String coName);

}
